Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove remaining threshold checks #401

Merged
merged 2 commits into from
Jul 24, 2021
Merged

Remove remaining threshold checks #401

merged 2 commits into from
Jul 24, 2021

Conversation

SkafteNicki
Copy link
Member

@SkafteNicki SkafteNicki commented Jul 23, 2021

Before submitting

  • Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?

What does this PR do?

Fixes #369
Some checks regarding the threshold parameter were not removed in PR #351. This should be the last of them.

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃

@SkafteNicki SkafteNicki added the bug / fix Something isn't working label Jul 23, 2021
@codecov
Copy link

codecov bot commented Jul 23, 2021

Codecov Report

Merging #401 (c392c31) into master (591bb2d) will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #401      +/-   ##
==========================================
- Coverage   96.43%   96.39%   -0.04%     
==========================================
  Files         117      117              
  Lines        3726     3720       -6     
==========================================
- Hits         3593     3586       -7     
- Misses        133      134       +1     
Flag Coverage Δ
Linux 76.74% <ø> (+0.04%) ⬆️
Windows 76.74% <ø> (+0.04%) ⬆️
cpu 96.39% <ø> (+0.02%) ⬆️
gpu ?
macOS 96.39% <ø> (+0.02%) ⬆️
pytest 96.39% <ø> (-0.04%) ⬇️
python3.6 95.56% <ø> (+0.01%) ⬆️
python3.8 96.39% <ø> (+0.02%) ⬆️
python3.9 96.29% <ø> (+0.02%) ⬆️
torch1.3.1 95.56% <ø> (+0.01%) ⬆️
torch1.4.0 95.64% <ø> (+0.01%) ⬆️
torch1.9.0 96.29% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
torchmetrics/classification/accuracy.py 94.73% <ø> (+1.51%) ⬆️
torchmetrics/classification/cohen_kappa.py 95.83% <ø> (ø)
torchmetrics/classification/hamming_distance.py 100.00% <ø> (ø)
torchmetrics/classification/stat_scores.py 98.30% <ø> (ø)
torchmetrics/functional/classification/accuracy.py 92.75% <ø> (-0.21%) ⬇️
torchmetrics/utilities/checks.py 92.00% <ø> (ø)
torchmetrics/functional/regression/spearman.py 93.33% <0.00%> (-4.45%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 591bb2d...c392c31. Read the comment docs.

@Borda Borda added the ready label Jul 23, 2021
@SkafteNicki SkafteNicki enabled auto-merge (squash) July 24, 2021 13:10
@Borda Borda disabled auto-merge July 24, 2021 15:56
@Borda Borda merged commit 849a200 into master Jul 24, 2021
@Borda Borda deleted the threshold_2 branch July 24, 2021 15:56
@Borda Borda added this to the v0.5 milestone Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug / fix Something isn't working ready
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unqualified threshold checks contradict logits support
2 participants